package com.onedec.attendance.dao;

import com.onedec.attendance.entity.OnedecCheckingIn;
import com.onedec.attendance.entity.OnedecCheckingInExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OnedecCheckingInDao {
    long countByExample(OnedecCheckingInExample example);

    int deleteByExample(OnedecCheckingInExample example);

    int deleteByPrimaryKey(Integer inAttAttgroupId);

    int insert(OnedecCheckingIn record);

    int insertSelective(OnedecCheckingIn record);

    List<OnedecCheckingIn> selectByExample(OnedecCheckingInExample example);

    OnedecCheckingIn selectByPrimaryKey(Integer inAttAttgroupId);

    int updateByExampleSelective(@Param("record") OnedecCheckingIn record, @Param("example") OnedecCheckingInExample example);

    int updateByExample(@Param("record") OnedecCheckingIn record, @Param("example") OnedecCheckingInExample example);

    int updateByPrimaryKeySelective(OnedecCheckingIn record);

    int updateByPrimaryKey(OnedecCheckingIn record);

    List<Map<String, Object>> selectCheckIns(Map<String, Object> map);
}